<template>
  <el-switch v-model="_value" active-color="#13ce66" inactive-color="#ff4949" v-bind="$attrs" v-on="$listeners"></el-switch>
</template>

<script>
import componentMixins from "@/components/ProForm/componentMixins";

export default {
  name: "CustomSwitch",
  mixins: [componentMixins],
  props: {
    value: {
      type: [Boolean, Number, String]
    }
  }
}
</script>

<style scoped>

</style>
